package com.tepth.remote.control.base.event;

/**
 * Description:
 *
 * @author Hequn.Lee
 * @date 2018/11/25
 */
public class DownloadEvent {

    private int fileId;
    /**
     * 1为下载成功，0为下载失败
     */
    private int type;

    private static final class Holder {
        private static final DownloadEvent INSTANCE = new DownloadEvent();
    }

    public static DownloadEvent getInstance() {
        return Holder.INSTANCE;
    }

    public int getFileId() {
        return fileId;
    }

    public DownloadEvent setFileId(int fileId) {
        this.fileId = fileId;
        return this;
    }

    public int getType() {
        return type;
    }

    public DownloadEvent setType(int type) {
        this.type = type;
        return this;
    }
}
